package com.ruoyi.system.service;

import com.ruoyi.system.domain.Purchase;
import java.util.List;

/**
 * Purchase 服务层
 * 
 * @author ruoyi
 * @date 2019-07-06
 */
public interface IPurchaseService 
{
	/**
     * 查询Purchase信息
     * 
     * @param purchaseId PurchaseID
     * @return Purchase信息
     */
	public Purchase selectPurchaseById(Integer purchaseId);
	
	/**
     * 查询Purchase列表
     * 
     * @param purchase Purchase信息
     * @return Purchase集合
     */
	public List<Purchase> selectPurchaseList(Purchase purchase);
	
	/**
     * 新增Purchase
     * 
     * @param purchase Purchase信息
     * @return 结果
     */
	public int insertPurchase(Purchase purchase);
	
	/**
     * 修改Purchase
     * 
     * @param purchase Purchase信息
     * @return 结果
     */
	public int updatePurchase(Purchase purchase);
		
	/**
     * 删除Purchase信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deletePurchaseByIds(String ids);
	
}
